home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / cp2dekit / h / plinkman.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-12-29  |  1011 b   |  43 lines

  1. //***************************************************************************
  2. //
  3. // this file is (c) '94-'96 Niklas Beisert
  4. //
  5. // this file is part of the cubic player development kit.
  6. // you may only use/modify/spread this file under the terms stated
  7. // in the cubic player development kit accompanying documentation.
  8. //
  9. //***************************************************************************
  10.  
  11. #ifndef __PLINKMAN_H
  12. #define __PLINKMAN_H
  13.  
  14. struct linkinfostruct
  15. {
  16.   const char *name;
  17.   const char *desc;
  18.   unsigned long ver;
  19.   unsigned long size;
  20.   int valid;
  21. };
  22.  
  23. struct linkaddressinfostruct
  24. {
  25.   const char *module;
  26.   const char *sym;
  27.   int symoff;
  28.   const char *source;
  29.   int line;
  30.   int lineoff;
  31. };
  32.  
  33. int lnkInit();
  34. void lnkClose();
  35. void lnkFree(int h);
  36. int lnkLink(const char *files);
  37. void *lnkGetSymbol(const char *name);
  38. int lnkCountLinks();
  39. int lnkGetLinkInfo(linkinfostruct &, int first);
  40. void lnkGetAddressInfo(linkaddressinfostruct &a, void *ptr);
  41.  
  42. #endif
  43.